package com.okchan.dao;

import com.okchan.domain.Book;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Ok chan
 */
@Repository
public interface BookDao {

    //图书根据book_id查询图书
    Book selectBookById(String bookId);

    //查询所有图书
    List<Book> booAll();

    //创建图书
    void createBook(Book book);

    //删除图书
    void deleteBookId(Book bookId);

    //更新图书
    void updateBook(Book bookName);

}





